package com.bitspilani.infonet.constants;

public class GlobalConstants {
public static final float GRAVITY = (float)9.81;
public static final float SENCITIVITY = (float)4.0;
public static final float DECELERATION_THRESHOLD = 7;//meter per second square
public static final int VIBRATION_LENGTH = 1000;
public static final int PAUSE_LENGTH=5000;//time to pause sencing after Panic Brake
public static final double MIN_BRAKE_DETECTION_INTERVAL = PAUSE_LENGTH+2000;//min interval for braking detection, inorder for the sensor's reading to stabilized
public static final long GYRO_TICK_FREQUENCY = 1000;
public static final long RISK_TICK_FREQUENCY = 30*1000;
public static final int SAMPLING_PERIOD = 15;
public static final float ALPHA = 1f/30f;
public static final float MAX_RATING = 10.0f;
public static final float MPS_TO_KMPH = 3.6f;


public static final String STORE_PATCH_DETAILS="http://1-dot-ubi-infonet.appspot.com/services/store/patch-details";

public static final String STORE_RISK_LOCATION="http://1-dot-ubi-infonet.appspot.com/services/store/risk-location";

public static final String GET_SPEED_LIMIT_RISK="http://1-dot-ubi-infonet.appspot.com/services/get/speed-risk";

public static final String GET_PATCH_RATING="http://1-dot-ubi-infonet.appspot.com/services/get/patch-rating";

public static final String DEVICE_ID = "123456";
public static final int VEHICLE_TYPE_ID=1;

}
